<li class="col-xs-2 item">
  <div class='cover'>
    <%= link_to image_tag(movie.photo_url,:alt => movie.title),movie_path(movie),:title => movie.title %>
  </div>
  <div class="rank">
    <span class="vote-star-min"><i style="width:<%= movie.average.round(1) * 10 %>%"></i></span>
    <span class="vote-number"> <%= movie.average.round(1) %> </span>
  </div>
  <div class="name">
    <%= link_to truncate(movie.title,:length => 10), movie_path(movie),:title => movie.title %>
  </div>
</li>
